        <div class="pageheader notab">
            <h1 class="pagetitle">编辑商品分类</h1>
            <span class="pagedesc">请认真编辑各项信息</span>
            
        </div><!--pageheader-->
        
        <div id="contentwrapper" class="contentwrapper lineheight21">
			
        
            <form class="stdform stdform2" method="post">
				<style>
				.form-table{ width:100%; background:#ddd;}
				.form-table th,.form-table td{ padding:15px;}
				.form-table th.title{ width:190px; background:#fcfcfc; color:#666; text-align:left;}
				.form-table th small{ font-weight:normal; color:#999; display:block;}
				.form-table td{ background:#fff; vertical-align:middle;}
				</style>
				<table class="form-table" cellspacing="1" border="0">
					<tr>
						<th class="title">分类名</th>
						<td>
							<input type="text" name="name" id="name" value="{$info.name}" class="smallinput" />
						</td>
					</tr>
					<tr>
						<th class="title">
							分类图片
							<small>点击+可以上传，点击图片可更换</small>
						</th>
						<td>
							<iframe src="{:U('upload', 'event=setPic&url='.$info['pic'])}" scrolling="no" width="100" height="100"></iframe>
							<input type="hidden" name="pic" id="pic" value="{$info.pic}" class="smallinput" />
							<script>
							function setPic(url){
								document.getElementById('pic').value = url;
							}
							</script>
						</td>
					</tr>
					<tr>
						<th class="title">排序</th>
						<td>
							<input type="text" name="sort" id="sort" value="{$info.sort}" class="smallinput" />
						</td>
					</tr>
				</table>
				
				<p class="stdformbutton">
					<button class="submit radius2">提交</button>
					<input type="reset" class="reset radius2" value="重置" />
				</p>
			</form>
        
        </div><!--contentwrapper-->
        